﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace EasyLanguage.Model
{
    public class Word
    {
        [Key]
        public int WordId { get; set; }
        public string WordValue { get; set; }
        public string Translation { get; set; }

        //Navigation Properties
        public virtual Dictionary Dictionary { get; set; }

        //Foreign Keys
        public int DictionaryId { get; set; }
    }
}
